x-receipt-id, Attestation Report, and Get Receipt.
Migrate from OpenAI
Migrate from OpenRouter
/v1/models. Use is_tee: true to find models that can be served confidentially, then verify the actual response receipt.
OpenAI SDK
LangChain
Vercel AI SDK
Langfuse
Coding Assistants and Desktop Clients
For tools that support an OpenAI-compatible provider, use:
This works for tools such as Continue, Cline-compatible assistants, Cherry Studio, and other clients that let you set an OpenAI-compatible base URL.
Migration Checklist
- Create a Phala API key.
- Change the base URL to
https://inference.phala.com/v1. - List models with
GET /v1/models. - Use
is_tee: truefor confidential-capable models. - Capture
x-receipt-idin raw HTTP responses when you need verification. - Verify one representative response before production rollout.

