Skip to content

Add Forge provider (OpenAI-compatible embeddings)#1964

Open
JCorners68 wants to merge 1 commit into
anomalyco:devfrom
JCorners68:add-forge-provider
Open

Add Forge provider (OpenAI-compatible embeddings)#1964
JCorners68 wants to merge 1 commit into
anomalyco:devfrom
JCorners68:add-forge-provider

Conversation

@JCorners68
Copy link
Copy Markdown

Adds the Forge embeddings provider.

Forge exposes an OpenAI-compatible embeddings API at https://api.voxell.ai/v1, consumed via @ai-sdk/openai-compatible. Auth via FORGE_API_KEY.

Three text-embedding models:

id dimensions $/1M input tokens
forge-turbo 1024 0.20
forge-pro 2560 0.30
forge-ultra-4k 4096 0.40

The provider TOML mirrors providers/fastrouter/provider.toml; the model TOMLs mirror the providers/openai text-embedding-* shape (family = "text-embedding", cost.input per 1M tokens, limit.output = embedding dimension, modalities text/text). limit.context = 512 reflects the served max sequence length.

bun run validate passes with the new provider present in the generated output.

Adds the Forge embeddings provider. OpenAI-compatible API at
api.voxell.ai/v1, served via @ai-sdk/openai-compatible. Three
text-embedding models (forge-turbo 1024d, forge-pro 2560d,
forge-ultra-4k 4096d). Mirrors the fastrouter provider.toml and
openai text-embedding model TOML shape. Passes bun run validate.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@@ -0,0 +1,5 @@
name = "Forge"
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.

no logo?

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