mirror of
https://github.com/anomalyco/models.dev.git
synced 2026-12-03 04:10:55 +08:00
* feat(opencode): add Gemini, Mistral, Qwen3, BGE-M3, Cohere and Voyage embedding models * fix(opencode): serve the Gemini embedding models through OpenRouter
17 lines
605 B
TOML
17 lines
605 B
TOML
# Endpoint (OpenAI Embeddings): POST https://opencode.ai/inference/openai/v1/embeddings, served through Zen's
|
|
# openrouter-embeddings endpoint by OpenRouter's mongodb/voyage-code-4.
|
|
# Pricing: what Zen bills for this model, the upstream's price (https://openrouter.ai/mongodb/voyage-code-4).
|
|
schema = 2
|
|
v2_only = true
|
|
base_model = "voyageai/voyage-code-4"
|
|
|
|
[api.embeddings]
|
|
base_url = "https://opencode.ai/inference/openai/v1"
|
|
sdk = { aisdk = "@ai-sdk/openai-compatible", opencodeai = "@opencode/ai/providers/openai-compatible/embeddings" }
|
|
|
|
[cost.text.input]
|
|
price = 0.12
|
|
|
|
[cost.text.output]
|
|
price = 0
|