Skip to content

Instantly share code, notes, and snippets.

@adstastic
adstastic / qwen3-lmstudio-prompt.jinja2
Created August 5, 2025 10:07
LMStudio Jinja Prompt Template
{%- if messages[0]["role"] == "system" %}
{%- set system_message = messages[0]["content"] %}
{%- set loop_messages = messages[1:] %}
{%- else %}
{%- set loop_messages = messages %}
{%- endif %}
{%- if not tools is defined %}
{%- set tools = [] %}
{%- endif %}
@adstastic
adstastic / results.md
Last active January 31, 2025 09:54
Perplexity + R1 research on AI hosting

Cost Analysis of AI Model Hosting Options (January 2025)

1. GPT-4 Class Text Workflows

  • AIaaS (OpenAI):
    • GPT-4o: $2.50/1M input tokens, $10/1M output tokens ([22][41]).
    • GPT-4 Turbo: $10/1M input tokens, $30/1M output tokens ([3]).
  • Cloud Hosting (AWS/GCP/Azure):
    • GPU instance (e.g., NVIDIA A100): $3.06–$6.12/hour ([23][27]).
    • Estimated cost: ~$0.03–$0.05 per 1K tokens (based on 158K tokens/hour on H100) ([1]).
  • Self-Hosting:
Verifying that +adstastic is my blockchain ID. https://onename.com/adstastic