Skip to content

feat: add Parasail provider#2031

Open
matanyall wants to merge 2 commits into
anomalyco:devfrom
matanyall:add-parasail-provider
Open

feat: add Parasail provider#2031
matanyall wants to merge 2 commits into
anomalyco:devfrom
matanyall:add-parasail-provider

Conversation

@matanyall
Copy link
Copy Markdown

Add Parasail provider

This PR adds Parasail — an OpenAI-compatible serverless inference cloud for open-weight models — and its serverless model catalog (31 models).

Source of data

All pricing, context limits, and capability flags are pulled from Parasail's OpenRouter-compatible models API:

GET https://api.parasail.io/api/v1/openrouter/models
  • Costs are per million tokens (USD), taken directly from the API's pricing.prompt / pricing.completion / pricing.input_cache_read.
  • release_date / last_updated are derived from each model's created timestamp in the API.
  • reasoning, tool_call, structured_output come from the API's supported_features.
  • attachment + image input modality set for the vision-language (-vl-) models.
  • open_weights = true for all (Parasail serves open-weight models).

Notes

  • Embedding-only models (e.g. bge-m3) are omitted since the schema requires cost.output.
  • bun validate passes locally.

Provider

name = "Parasail"
npm = "@ai-sdk/openai-compatible"
api = "https://api.parasail.io/v1"
doc = "https://docs.parasail.io/parasail-docs/"
env = ["PARASAIL_API_KEY"]

matanyall added 2 commits June 5, 2026 15:36
Adds the Parasail (parasail.io) provider and its serverless model
catalog. Parasail is an OpenAI-compatible serverless inference cloud
for open-weight models.

Pricing, context limits, and capabilities sourced from Parasail's
OpenRouter-compatible models API
(https://api.parasail.io/api/v1/openrouter/models). Costs are per
million tokens. Embedding-only models are omitted (no output cost).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant