Skip to content
All articles
Getting started·1 min read

Your first ModelMesh request

Connect an existing application with an API key, a base URL, and a model ID.

Start with the catalog

Choose a published model and check its input and output rates. Copy its exact model ID; a display name is not always a valid API identifier.

Create and protect your key

Generate an API key in your dashboard. Keep it in a server environment variable. Never put a live key in a browser bundle, screenshot, or public repository.

Point your SDK at ModelMesh

Set your OpenAI-compatible client's base URL to the ModelMesh API URL. Pass your key and chosen model ID. The quickstart includes Python, JavaScript, and cURL examples.

Check the result

Use your dashboard's usage and request logs to confirm the request. If it fails, check the model ID, available balance, and the returned error before retrying.

Explore connections