Route with intent
Match each prompt to the model that handles its complexity, context, and format best. Set your rules once; adapt as your needs change.
Valefront is an LLM router: one OpenAI-compatible API that routes each request to a suitable model across providers by task, quality, cost, and latency, with automatic fallbacks. It is also Anthropic-compatible: point either SDK at https://llm.valefront.com.
{ "model": "auto",
"messages": [{ "role": "user", "content": "Summarize this call" }] }Stop hardcoding model choices. Valefront understands what each request needs and routes it across your stack with the right balance of quality, speed, and spend.
Match each prompt to the model that handles its complexity, context, and format best. Set your rules once; adapt as your needs change.
Choose the lowest-cost model that meets your quality bar. Keep premium models for the moments that need them.
Automatic fallbacks keep your product responsive when a provider slows down or an endpoint goes offline.
Keep the API you know. Point your app at Valefront and switch, compare, or combine providers without rewriting your integration.
Read the quickstart# OpenAI-compatible curl https://llm.valefront.com/v1/chat/completions \ -H 'Authorization: Bearer $VALEFRONT_KEY' \ -H 'Content-Type: application/json' \ -d '{"model":"auto","messages":[{"role":"user","content":"Hello"}]}' # Anthropic (Messages) curl https://llm.valefront.com/v1/messages \ -H 'x-api-key: $VALEFRONT_KEY' \ -H 'anthropic-version: 2023-06-01' \ -H 'Content-Type: application/json' \ -d '{"model":"seed-2-0-lite-260428","max_tokens":64,"messages":[{"role":"user","content":"Hello"}]}' const ai = new OpenAI({ baseURL: 'https://llm.valefront.com/v1', apiKey: process.env.VALEFRONT_KEY, }); const answer = await ai.chat.completions.create({ model: 'auto', // Valefront picks the right fit messages: [{ role: 'user', content: prompt }], });
Valefront is an LLM router that provides one OpenAI-compatible API for sending requests to suitable models across providers.
Routing considers the request's task, quality requirements, cost, and latency, then selects a suitable model and can use automatic fallbacks.
Valefront routes across the providers implemented by the service; current provider availability is shown in the dashboard.
Yes. Valefront provides an OpenAI-compatible API so compatible applications can use one endpoint.
Yes. Valefront is OpenAI-compatible and Anthropic-compatible: point either SDK at https://llm.valefront.com.
Use the Valefront dashboard to get started, then point your application at the Valefront API base URL.
Pay as you go, with no markup: you pay exactly the official price each model provider charges, per token. New accounts get free tokens to start. Live prices per model are on the dashboard.
Create a free account and get 1,000,000 free tokens, plus 4,000,000 more after your first top-up, for 30 days. Then pay each provider’s official price, with no markup.
from openai import OpenAI
client = OpenAI(
base_url="https://llm.valefront.com/v1",
api_key="vf_...",
)
reply = client.chat.completions.create(
model="auto",
messages=[{"role": "user", "content": "Hello"}],
)