Skip to content

Add NEAR AI Cloud provider#1772

Merged
rekram1-node merged 2 commits into
anomalyco:devfrom
nearai:add-nearai
May 14, 2026
Merged

Add NEAR AI Cloud provider#1772
rekram1-node merged 2 commits into
anomalyco:devfrom
nearai:add-nearai

Conversation

@Evrard-Nil
Copy link
Copy Markdown
Contributor

Summary

Adds NEAR AI Cloud (nearai) as a new OpenAI-compatible provider serving 33 models at https://cloud-api.near.ai/v1, plus a brand logo.

Approach

  • First-party mirrors (anthropic/*, openai/*, google/*) use extends with overrides only where cloud-api pricing or limits differ from the canonical entry (per the README's guidance that wrappers shouldn't duplicate first-party defs).
  • NEAR-hosted open-weight models (Qwen3 family, zai-org/GLM-5.1-FP8, openai/gpt-oss-120b, openai/whisper-large-v3, black-forest-labs/FLUX.2-klein-4B) ship with full TOML definitions.
  • Qwen/Qwen3.5-122B-A10B extends the canonical alibaba entry with cost/limit overrides for cloud-api pricing.
  • logo.svg adapted from cloud.near.ai/favicon.svg, normalized to currentColor and no fixed size per the contribution guide.

Pricing, context windows, and modalities are sourced from GET https://cloud-api.near.ai/v1/models.

Validation

bun validate passes locally with exit code 0; the generated nearai entry materialises all 33 models with the expected pricing and limits.

Closes #1771 (re-opened from the nearai org fork so the contribution is owned by the NEAR AI organization).

Test plan

  • bun install
  • bun validate (exit 0)
  • CI validate workflow on the PR

Adds nearai as an OpenAI-compatible provider at https://cloud-api.near.ai/v1
serving 33 models. First-party mirrors (anthropic/openai/google) use `extends`;
NEAR-hosted open-weight models (Qwen, GLM-5.1-FP8, gpt-oss, whisper, FLUX) have
full definitions.

Pricing and context limits sourced from cloud-api.near.ai/v1/models.
@rekram1-node rekram1-node merged commit 9351d68 into anomalyco:dev May 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants