Skip to content

feat: add Ambient provider with GLM-5.1 and Kimi K2.6#1773

Merged
rekram1-node merged 2 commits into
anomalyco:devfrom
ambient-gregory:dev
May 14, 2026
Merged

feat: add Ambient provider with GLM-5.1 and Kimi K2.6#1773
rekram1-node merged 2 commits into
anomalyco:devfrom
ambient-gregory:dev

Conversation

@ambient-gregory
Copy link
Copy Markdown
Contributor

@ambient-gregory ambient-gregory commented May 13, 2026

Summary

Adds Ambient as a new inference provider, with an initial catalog of GLM 5.1 and Kimi K2.6.

Ambient is an SVM-compatible Layer-1 blockchain providing verified AI inference via a "Proof of Logits" consensus - validators re-run inference at a randomly-sampled token to confirm the output came from the claimed model.

Also listed on OpenRouter.

Provider

  • API: https://api.ambient.xyz/v1 (OpenAI-compatible)
  • SDK: @ai-sdk/openai-compatible
  • Auth env: AMBIENT_API_KEY
  • Docs: https://docs.ambient.xyz/

Models

Model ID Context Output Input $/M Output $/M Cache read $/M
zai-org/GLM-5.1-FP8 202,752 131,072 $1.40 $4.40 $0.00
moonshotai/kimi-k2.6 262,144 262,144 $0.95 $4.00 $0.20

Both use [extends] to inherit from canonical definitions (zai/glm-5.1, moonshotai/kimi-k2.6) and override only the fields Ambient's API reports: cost, limit, modalities.

Generator

A bun run ambient:generate script (packages/core/script/generate-ambient.ts) keeps pricing and limits in sync with /v1/models, following the same pattern as chutes, helicone, vercel, digitalocean.

Adds the Ambient inference provider (api.ambient.xyz) with an initial
catalog of GLM-5.1 and Kimi K2.6, plus a generator script that pulls
from /v1/models so pricing and limits stay in sync with the upstream API.

Run `bun run ambient:generate` to refresh model TOMLs.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we make this smaller? more like the other logos

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rekram1-node done :) ready for a final look

@rekram1-node rekram1-node merged commit d1ec1ba 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