Providers
Neon
Use Neon through @anvia/openai.
Connection
| Field | Value |
|---|---|
| Anvia SDK | @anvia/openai |
| Compatibility | OpenAI-compatible endpoint |
| API URL | ${NEON_AI_GATEWAY_BASE_URL}/ai-gateway/mlflow/v1 |
| Environment | NEON_AI_GATEWAY_BASE_URL, NEON_AI_GATEWAY_TOKEN |
| Provider docs | https://neon.com/docs |
| Models | 25 |
Anvia Usage
This provider is listed as OpenAI-compatible. Start with @anvia/openai and the chat-completions adapter, then smoke test the exact workflow.
import { OpenAIClient } from "@anvia/openai";
const client = new OpenAIClient({
apiKey: process.env.NEON_AI_GATEWAY_BASE_URL,
baseUrl: "${NEON_AI_GATEWAY_BASE_URL}/ai-gateway/mlflow/v1",
completionApi: "chat",
});
const model = client.completionModel("claude-haiku-4-5");
Capabilities
| Capability | Value |
|---|---|
| Input modalities | audio, image, pdf, text, video |
| Output modalities | text |
| Attachments | 23 / 25 models |
| Tools | 25 / 25 models |
| Structured output | 17 / 25 models |
| Reasoning | 25 / 25 models |
| Temperature | 15 / 25 models |
| Open weights | 2 / 25 models |
Models
| Model | Family | Input | Output | Capabilities | Limits | Cost | Updated |
|---|---|---|---|---|---|---|---|
claude-haiku-4-5Claude Haiku 4.5 (latest) |
claude-haiku | image, pdf, text | text | tools, reasoning, temperature | context: 200000 / output: 64000 | input: 1 / output: 5 / cache_read: 0.1 / cache_write: 1.25 | 2025-10-15 |
claude-opus-4-1Claude Opus 4.1 (latest) |
claude-opus | image, pdf, text | text | tools, reasoning, temperature | context: 200000 / output: 32000 | input: 15 / output: 75 / cache_read: 1.5 / cache_write: 18.75 | 2025-08-05 |
claude-opus-4-5Claude Opus 4.5 (latest) |
claude-opus | image, pdf, text | text | tools, reasoning, temperature | context: 200000 / output: 64000 | input: 5 / output: 25 / cache_read: 0.5 / cache_write: 6.25 | 2025-11-24 |
claude-opus-4-6Claude Opus 4.6 |
claude-opus | image, pdf, text | text | tools, reasoning, temperature | context: 1000000 / output: 128000 | input: 5 / output: 25 / cache_read: 0.5 / cache_write: 6.25 | 2026-03-13 |
claude-opus-4-7Claude Opus 4.7 |
claude-opus | image, pdf, text | text | tools, reasoning | context: 1000000 / output: 128000 | input: 5 / output: 25 / cache_read: 0.5 / cache_write: 6.25 | 2026-04-16 |
claude-sonnet-4Claude Sonnet 4.5 |
claude-sonnet | image, pdf, text | text | tools, reasoning, temperature | context: 200000 / output: 64000 | input: 3 / output: 15 / cache_read: 0.3 / cache_write: 3.75 | 2025-09-29 |
claude-sonnet-4-5Claude Sonnet 4.5 (latest) |
claude-sonnet | image, pdf, text | text | tools, reasoning, temperature | context: 200000 / output: 64000 | input: 3 / output: 15 / cache_read: 0.3 / cache_write: 3.75 | 2025-09-29 |
claude-sonnet-4-6Claude Sonnet 4.6 |
claude-sonnet | image, pdf, text | text | tools, reasoning, temperature | context: 1000000 / output: 64000 | input: 3 / output: 15 / cache_read: 0.3 / cache_write: 3.75 | 2026-03-13 |
gemini-2-5-flashGemini 2.5 Flash |
gemini-flash | audio, image, pdf, text, video | text | tools, schema, reasoning, temperature | context: 1048576 / output: 65536 | input: 0.3 / output: 2.5 / cache_read: 0.03 / input_audio: 1 | 2025-06-17 |
gemini-2-5-proGemini 2.5 Pro |
gemini-pro | audio, image, pdf, text, video | text | tools, schema, reasoning, temperature | context: 1048576 / output: 65536 | input: 1.25 / output: 10 / cache_read: 0.125 | 2025-06-17 |
gemini-3-1-flash-liteGemini 3.1 Flash Lite Preview |
gemini-flash-lite | audio, image, pdf, text, video | text | tools, schema, reasoning, temperature | context: 1048576 / output: 65536 | input: 0.25 / output: 1.5 / cache_read: 0.025 / input_audio: 0.5 | 2026-03-03 |
gemini-3-1-proGemini 3.1 Pro Preview Custom Tools |
gemini-pro | audio, image, pdf, text, video | text | tools, schema, reasoning, temperature | context: 1048576 / output: 65536 | input: 2 / output: 12 / cache_read: 0.2 | 2026-02-19 |
gemini-3-flashGemini 3 Flash Preview |
gemini-flash | audio, image, pdf, text, video | text | tools, schema, reasoning, temperature | context: 1048576 / output: 65536 | input: 0.5 / output: 3 / cache_read: 0.05 / input_audio: 1 | 2025-12-17 |
gemini-3-proGemini 3 Pro Preview |
gemini-pro | audio, image, pdf, text, video | text | tools, schema, reasoning, temperature | context: 1048576 / output: 65536 | input: 2 / output: 12 / cache_read: 0.2 | 2025-11-18 |
gpt-5GPT-5 |
gpt | image, text | text | tools, schema, reasoning | context: 400000 / input: 272000 / output: 128000 | input: 1.25 / output: 10 / cache_read: 0.125 | 2025-08-07 |
gpt-5-1GPT-5.1 |
gpt | image, text | text | tools, schema, reasoning | context: 400000 / input: 272000 / output: 128000 | input: 1.25 / output: 10 / cache_read: 0.125 | 2025-11-13 |
gpt-5-2GPT-5.2 |
gpt | image, text | text | tools, schema, reasoning | context: 400000 / input: 272000 / output: 128000 | input: 1.75 / output: 14 / cache_read: 0.175 | 2025-12-11 |
gpt-5-4GPT-5.4 |
gpt | image, pdf, text | text | tools, schema, reasoning | context: 1050000 / input: 922000 / output: 128000 | input: 2.5 / output: 15 / cache_read: 0.25 | 2026-03-05 |
gpt-5-4-miniGPT-5.4 mini |
gpt-mini | image, text | text | tools, schema, reasoning | context: 400000 / input: 272000 / output: 128000 | input: 0.75 / output: 4.5 / cache_read: 0.075 | 2026-03-17 |
gpt-5-4-nanoGPT-5.4 nano |
gpt-nano | image, text | text | tools, schema, reasoning | context: 400000 / input: 272000 / output: 128000 | input: 0.2 / output: 1.25 / cache_read: 0.02 | 2026-03-17 |
gpt-5-5GPT-5.5 |
gpt | image, pdf, text | text | tools, schema, reasoning | context: 1050000 / input: 922000 / output: 128000 | input: 5 / output: 30 / cache_read: 0.5 | 2026-04-23 |
gpt-5-miniGPT-5 Mini |
gpt-mini | image, text | text | tools, schema, reasoning | context: 400000 / input: 272000 / output: 128000 | input: 0.25 / output: 2 / cache_read: 0.025 | 2025-08-07 |
gpt-5-nanoGPT-5 Nano |
gpt-nano | image, text | text | tools, schema, reasoning | context: 400000 / input: 272000 / output: 128000 | input: 0.05 / output: 0.4 / cache_read: 0.005 | 2025-08-07 |
gpt-oss-120bGPT OSS 120B |
gpt-oss | text | text | tools, schema, reasoning, temperature, open weights | context: 131072 / output: 32768 | input: 0.072 / output: 0.28 | 2025-08-05 |
gpt-oss-20bGPT OSS 20B |
gpt-oss | text | text | tools, schema, reasoning, temperature, open weights | context: 131072 / output: 32768 | input: 0.05 / output: 0.2 | 2025-08-05 |
Read Gateway caveats before enabling this provider in production.
