> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developers.meshapi.ai/llms.txt.
> For full documentation content, see https://developers.meshapi.ai/llms-full.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developers.meshapi.ai/_mcp/server.

# Models

> List available models with the Node.js SDK.

# Models

```ts
// All models
const all = await client.models.list();

// Free models only
const free = await client.models.free();

// Paid models only
const paid = await client.models.paid();

// List with filter param
const freeViaParam = await client.models.list({ free: true });

// Print model pricing
for (const model of paid.slice(0, 5)) {
  console.log(
    `${model.id} — prompt: $${model.pricing.prompt_usd_per_1k}/1k, ` +
    `completion: $${model.pricing.completion_usd_per_1k}/1k`
  );
}
```

Free models (`is_free: true`) cost \$0 for both prompt and completion, useful for testing and light tasks. Paid models charge per token against your account balance.