LLM API

Models

Don't hard-code a model list. The models you can call depend on your project's policies, so fetch them at runtime.

List your models

Call GET /v1/modelswith your key to see exactly what you can use right now. This is the authoritative list — it reflects your project's access and changes as the catalog evolves.

List available models
curl https://llm.upgreat.ai/v1/models \
  -H "Authorization: Bearer $UPGREAT_API_KEY"

Each entry has an id — pass that string as the model field on a request.

Response
{
  "object": "list",
  "data": [
    { "id": "...", "object": "model", "owned_by": "upgreat" }
  ]
}

Programmatic discovery

The OpenAI SDKs expose this as client.models.list(). Use it to populate a model picker or to validate a configured model at startup, rather than maintaining a hard-coded list that drifts from reality.

Capabilities by endpoint

Models are grouped by what they do, and each capability maps to one endpoint. Look up the concrete model IDs for each with GET /v1/models.

CapabilityEndpoint
Chat & text
General chat, reasoning, translation and other text generation. Reasoning models also return a reasoning field.
/v1/chat/completions
Structured extraction
Turn unstructured documents into JSON that matches a template you provide.
/v1/chat/completions
Embeddings
Vectors for semantic search, clustering and RAG.
/v1/embeddings
Image generation
Text-to-image and image editing. Output is base64-encoded PNG.
/v1/images/generations
Audio transcription
Speech-to-text from an uploaded audio file.
/v1/audio/transcriptions

Video (preview)

Image-to-video and speech-to-video generation are available on request — talk to your account contact.